Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetQTVRInstance

You can use the QTVRGetQTVRInstance function to get an instance of a QuickTime VR movie.

OSErr QTVRGetQTVRInstance (
                     QTVRInstance *qtvr,
                     Track qtvrTrack,
                     MovieControllermc);
qtvr
On exit, an instance of the specified QuickTime VR movie.
qtvrTrack
A QTVR track contained in a QuickTime movie. You can obtain a reference to this track by calling QTVRGetQTVRTrack (link) .
mc
An identifier for the movie controller to be associated with the new QuickTime VR movie instance. You can get a movie controller identifier by calling the NewMovieController function.
function result
A result code.

DESCRIPTION

The QTVRGetQTVRInstance function returns, in the qtvr parameter, an instance of the QuickTime VR movie specified by the qtvrTrack parameter. If qtvrTrack does not specify a QTVR track, QTVRGetQTVRInstance returns nil in the qtvr parameter and an error code as its function result. You need a QuickTime VR movie instance to call most other QuickTime VR functions.

SPECIAL CONSIDERATIONS

It's not necessary to dispose of a QuickTime VR movie instance.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |